Skip to main content

All Questions

0votes
0answers
52views

Designing a proof mechanism

DataModel contains a Proof that contains all the information of its integrity along with the method with which the Proof should be verified. In this case I designed a JWS type of proof that can be ...
Antonio Santoro's user avatar
-2votes
1answer
2kviews

Simple circular dependency between three classes

I have this basic design with a circular dependency. Is there any solution for this? The problem is that a Machine cannot be created if a Model for that Team has been submitted.
Antonio Santoro's user avatar
1vote
0answers
86views

How to solve circular dependency scenario while executing http calls which require authentication?

I am working on a project which requires me to execute standard HTTP calls with session tokens. I am building a custom HTTP client, with a custom authenticator, something like this: Client client = ...
lazyloader's user avatar
3votes
1answer
98views

Logging an error and creating an error when the logging fails create a circular dependency between two projects

As part of a program I am developing for practice purposes, I've created a namespace Core designed to contain the core code resources for the program to use. This namespace is in a Class Library ...
Michael Haddad's user avatar
1vote
2answers
1kviews

Help with getting rid of circular dependency

I have the following circular dependency that I'd like to eliminate. I think I must have a flaw in my design. And I'd much appreciate any feedback on how to fix this. My circular dependency comes ...
user3240688's user avatar
52votes
3answers
121kviews

How to solve circular dependency?

I have three classes that are circular dependant to each other: TestExecuter execute requests of TestScenario and save a report file using ReportGenerator class. So: TestExecuter depends on ...
sabrina2020's user avatar
2votes
2answers
5kviews

Designing classes that depend on each other

How would one go about designing classes for a system in which two components depend on each other? For a more concrete example, consider this scenario, you're designing a piece of software to manage ...
Khaled Nassar's user avatar

close